﻿using Ozone.ShareData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ozone.Models
{

    /// <summary>
    /// 离心机孔位状态
    /// </summary>
    public class Process3Model : DataDelegateCenter
    {
        public event ReadDataHandlerProcess ReadDataP3Event;
        public string sTag;
        public string sValue;

        public string sTaglbRotateSpeed { get; set; } = "lbRotateSpeed";
        public string sTaglbVolume { get; set; } = "lbVolume";
        /// <summary>
        /// 孔位状态 
        /// 0 孔位无离心管
        /// 1 孔位有离心管
        /// </summary>
        public string Tag 
        {
            get{return sTag; }
            set
            {
                sTag = value;
                if (ReadDataP3Event != null)
                    ReadDataP3Event(sTag, sValue);
            }
        }
    }
}
